<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
   /******************************************************************************
     Copyright:: 2020- IBM, Inc

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
  *****************************************************************************/
-->

<html lang="en">

<head>

    <title>RPT Test Suite</title>
</head>

<body>

    <a href="#navskip">skip to main content</a>

    <!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->

    <h3>WAI-ARIA keyboard equivalent test</h3>

    <a name="navskip"></a>

    <button aria-activedescendant="button1" type="button" disabled>Click Me!</button>

    <select aria-activedescendant="button1" disabled="true">
        <option value="volvo">Volvo</option>
        <option value="saab">Saab</option>
        <option value="mercedes">Mercedes</option>
        <option value="audi">Audi</option>
    </select>

    <form action="demo_form.asp">
        First name:
        <input type="text" name="fname" placeholder="I am a placeholder">
        <br> Last name:
        <input type="text" name="lname" aria-activedescendant="button1" disabled="disabled" placeholder="I am a placeholder for the disabled input element.">
        <br>
        <input type="submit" value="Submit">
    </form>

    Address:
    <br>
    <textarea aria-activedescendant="button1" disabled="" id="myTextarea">
        342 Alvin Road Ducksburg
    </textarea>

    <select disabled>
        <optgroup label="Swedish Cars">
            <option value="volvo">Volvo</option>
            <option value="saab">Saab</option>
        </optgroup>
        <optgroup aria-activedescendant="button1" label="German Cars">
            <option value="mercedes">Mercedes</option>
            <option value="audi">Audi</option>
        </optgroup>
    </select>

    <select>
        <option value="volvo" aria-activedescendant="button1" disabled="true">Volvo</option>
        <option value="saab">Saab</option>
        <option value="vw">VW</option>
        <option value="audi">Audi</option>
    </select>

    <fieldset disabled="false" aria-activedescendant="button1" style="color: rgb(255, 0, 0);">
        <legend>Personalia:</legend>
        Name:
        <input type="text">
        <br> Email:
        <input type="text">
        <br> Date of birth:
        <input type="text">
    </fieldset>

    <table aria-activedescendant="selected_option_POLICYNAME" role="listbox" id="POLICYNAME" aria-expanded="false" aria-disabled="true">
        <tbody>
            <tr>
                <td>
                    <div>
                        <span>Two</span>
                    </div>
                    <div>
                        <input type="text" role="presentation" readonly="readonly" tabindex="-1" value="Χ ">
                    </div>
                    <input type="hidden" aria-hidden="true" value="2" data-dojo-attach-point="valueNode" name="POLICYNAME" aria-activedescendant="button1" disabled="">
                </td>
                <td>
                    <input type="text" role="presentation" readonly="readonly" tabindex="-1" value="▼ ">
                </td>
            </tr>
        </tbody>
    </table>

    <div aria-disabled="true">
        <div>
            <div>
                <div>
                    <div>
                        <table aria-activedescendant="selected_option_POLICYNAME" role="listbox" id="POLICYNAME" aria-expanded="false">
                            <tbody>
                                <tr>
                                    <td>
                                        <div>
                                            <span>Two</span>
                                        </div>
                                        <div>
                                            <input type="text" role="presentation" readonly="readonly" tabindex="-1" value="Χ ">
                                        </div>
                                        <input type="hidden" aria-hidden="true" value="2" data-dojo-attach-point="valueNode" aria-activedescendant="button1" name="POLICYNAME">
                                    </td>
                                    <td>
                                        <input type="text" role="presentation" readonly="readonly" tabindex="-1" value="▼ ">
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script type="text/javascript">
        //<![CDATA[
        if (typeof (OpenAjax) == 'undefined') OpenAjax = {}
        if (typeof (OpenAjax.a11y) == 'undefined') OpenAjax.a11y = {}
        OpenAjax.a11y.ruleCoverage = [
            {
                ruleId: "1084",
                passedXpaths: [
      ],
                failedXpaths: [
      ]
    },
  ];
        //]]>
    </script>
</body>

</html>
